package com.yanqu.road.entity.enums;

public enum ePreChargeType {

	/**
	 * 普通充值购买
	 */
	normalBuy(1),
	/**
	 * 限时活动充值购买
	 */
	activityBuy(2),
	;

	private int intValue;

	ePreChargeType(int value) {
		intValue = value;
	}

	public int getValue() {
		return intValue;
	}

	public static ePreChargeType forValue(int value) {
		for (ePreChargeType type : ePreChargeType.values()) {
			if (type.intValue == value) {
				return type;
			}
		}
		return null;
	}
}
